package top.xia17.plugins.fast.quartz.api.query;

import top.xia17.plugins.fast.common.database.jpa.query.BaseQuery;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;
import top.xia17.plugins.fast.quartz.api.entity.QuartzLog;

import java.io.Serializable;
import java.util.Date;


/**
 * quartz定时任务的执行日志(QuartzLog)查询类
 *
 * @author makejava
 * @since 2022-06-13 17:51:48
 */
@Accessors(chain = true)
@Getter
@Setter
@NoArgsConstructor
public class QuartzLogQuery implements BaseQuery<QuartzLog>, Serializable {

    private static final long SERIAL_VERSION_UID = -23515607199108899L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 任务名
     */
    private String jobName;

    /**
     * SpringBean名称
     */
    private String beanName;

    /**
     * 方法名称
     */
    private String methodName;

    /**
     * 参数
     */
    private String param;

    /**
     * cron表达式
     */
    private String cron;

    /**
     * 是否执行成功
     */
    private Boolean isSuccess;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 执行时间
     */
    private String time;

    /**
     * 异常细节
     */
    private String exceptionDetail;


}

